import React from 'react';

import Nav from './Nav';

import style from './BasicLayout.less';

interface LoginLayoutProps {
  children: any;
}

const LoginLayout = ({ children }: LoginLayoutProps) => {
  return (
    <div className={style.main}>
      <Nav isNotLogin />
      <div className={style.content} id="main-layout">
        {children}
      </div>
    </div>
  );
};

export default LoginLayout;
